package library.dto;

import org.springframework.web.multipart.MultipartFile;

public class BookDTO {
	private String bookSN;
	private String name;
	private String writer;
	private String publisher;
	private long count;
	private String location;
	private String translator;
	private String inputDate;
	private String bookImageName;
	private String categoryLowId;
	private MultipartFile bookImage;
	private int rent_state_number;
	
	public BookDTO() {
		super();
	}

	public BookDTO(String bookSN, String name, String writer, String publisher,
			long count, String location, String translator, String inputDate,
			String bookImageName, String categoryLowId,
			MultipartFile bookImage, int rent_state_number) {
		super();
		this.bookSN = bookSN;
		this.name = name;
		this.writer = writer;
		this.publisher = publisher;
		this.count = count;
		this.location = location;
		this.translator = translator;
		this.inputDate = inputDate;
		this.bookImageName = bookImageName;
		this.categoryLowId = categoryLowId;
		this.bookImage = bookImage;
		this.rent_state_number = rent_state_number;
	}

	public String getBookSN() {
		return bookSN;
	}

	public void setBookSN(String bookSN) {
		this.bookSN = bookSN;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getWriter() {
		return writer;
	}

	public void setWriter(String writer) {
		this.writer = writer;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public long getCount() {
		return count;
	}

	public void setCount(long count) {
		this.count = count;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getTranslator() {
		return translator;
	}

	public void setTranslator(String translator) {
		this.translator = translator;
	}

	public String getInputDate() {
		return inputDate;
	}

	public void setInputDate(String inputDate) {
		this.inputDate = inputDate;
	}

	public String getBookImageName() {
		return bookImageName;
	}

	public void setBookImageName(String bookImageName) {
		this.bookImageName = bookImageName;
	}

	public String getCategoryLowId() {
		return categoryLowId;
	}

	public void setCategoryLowId(String categoryLowId) {
		this.categoryLowId = categoryLowId;
	}

	public MultipartFile getBookImage() {
		return bookImage;
	}

	public void setBookImage(MultipartFile bookImage) {
		this.bookImage = bookImage;
	}

	public int getRent_state_number() {
		return rent_state_number;
	}

	public void setRent_state_number(int rent_state_number) {
		this.rent_state_number = rent_state_number;
	}

	@Override
	public String toString() {
		return "BookDTO [bookSN=" + bookSN + ", name=" + name + ", writer="
				+ writer + ", publisher=" + publisher + ", count=" + count
				+ ", location=" + location + ", translator=" + translator
				+ ", inputDate=" + inputDate + ", bookImageName="
				+ bookImageName + ", categoryLowId=" + categoryLowId
				+ ", bookImage=" + bookImage + ", rent_state_number="
				+ rent_state_number + "]";
	}

	
}
